package ankang.day140104;

import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int year=sc.nextInt();
        if((year % 4 == 0   &&   year % 100 != 0)   ||    (year % 400 == 0 )){
            System.out.println("是闰年");
        }else{
            System.out.println("不是闰年");
        }

        String rs= ((year % 4 == 0   &&   year % 100 != 0)   ||    (year % 400 == 0 )) ?  "是闰年" :  "不是闰年";
        System.out.println(rs);
    }
}